package com.pdsu.graduation_design.domain;

public class UserAddress {

    private int uid;
    private String Username;
    private String Phone;
    private String Address;
    private boolean isDefault;

    public UserAddress() {
    }

    @Override
    public String toString() {
        return "UserAddress{" +
                "uid=" + uid +
                ", Username='" + Username + '\'' +
                ", Phone='" + Phone + '\'' +
                ", Address='" + Address + '\'' +
                ", isDefault=" + isDefault +
                '}';
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return Username;
    }

    public void setUsername(String username) {
        Username = username;
    }

    public String getPhone() {
        return Phone;
    }

    public void setPhone(String phone) {
        Phone = phone;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }

    public boolean isDefault() {
        return isDefault;
    }

    public void setDefault(boolean aDefault) {
        isDefault = aDefault;
    }

    public UserAddress(int uid, String username, String phone, String address, boolean isDefault) {
        this.uid = uid;
        Username = username;
        Phone = phone;
        Address = address;
        this.isDefault = isDefault;
    }
}
